package com.ad.payload.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class JielongTimeZoneDto {

    private static final long serialVersionUID=1L;

    private Long id;

    @NotNull(message = "商家ID不能为空")
    private Long merchantId;
    @NotBlank(message = "开始时间不能为空")
    private String startTime;
    @NotBlank(message = "结束时间不能为空")
    private String endTime;
    @NotBlank(message = "配送范围不能为空")
    private String deliveryDistance;
}
